package ankh;

import android.app.Activity;
import android.os.Bundle;
import ankh.graphics.Graphics;
import ankh.scene.Scene;

public class Ankh
{
	
	protected Activity _activity;
	protected Graphics _graphics;
	protected Scene _scene;
	
	public Activity getActivity() { return _activity; }
	public Graphics getGraphics() { return _graphics; }
	public Scene getScene() { return _scene; }
	
	public Ankh(Activity activity)
	{
		_activity = activity;
	}
	
	public void onCreate(Bundle savedInstanceState)
	{
		_graphics = new Graphics(this);
		_scene = new Scene(this);
	}
	
	public void onStart()
	{
		
	}
	
	public void onRestart()
	{
		
	}
	
	public void onResume()
	{
		_graphics.getGLSurfaceView().onResume();
	}
	
	public void onPause()
	{
		_graphics.getGLSurfaceView().onPause();
	}
	
	public void onStop()
	{
		
	}
	
	public void onDestroy()
	{
		
	}
	
}
